package com.ydgk.jishuzhan.service;

import com.ydgk.jishuzhan.beans.Message;

import java.util.List;
import java.util.Map;

public interface MessageService {
    List<Message> getMessages(Map<String, Object> map);

    Integer queryMessageTotal(Map<String, Object> map);

    Message findMessage(Integer id);

    void setRead(Integer id);

    void batchDelete(Integer[] ids);

    void deleteById(Integer id);
}
